package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.Spots;
import cn.wolfcode.wolf2w.domain.SpotsDetails;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SpotsDetailsRepository extends MongoRepository<SpotsDetails,String> {
    SpotsDetails queryBySpotsId(String id);

    SpotsDetails findBySpotsId(String spotsId);
}
